package com.company.sendemo.basics.akJavaString.basicsstring;
//字符拼接
public class Joint {

    //创建String的两种方式
    //构造器
    String aaa = new String("构造器创建String");
    //双引号
    String bbb = "双引号创建String";
    public int x;

    public static void main(String[] args) {
        int a = 4;
        String b = "4";
        String c = a + b;
        String d = b + a;
        System.out.println(c+"    "+d);
//        System.out.println("Value is"+ x);
    }
}
